home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Guided Tour of Multimedia (Second Edition)
/
The Guided Tour of Multimedia (Second Edition).iso
/
trials
/
director
/
evalcopy
/
director.z
/
NAVIGATR.DIR
/
00308_Field_308.txt
< prev
next >
Wrap
Text File
|
1994-06-14
|
1KB
|
35 lines
FURNITUR.Dir, 1
-- *********************************************************************
-- called when the user clicks the mouse on the Menu Bar Sprite (channel 2)
-- the handler determine the horizontal position of the mouse and deduces the
-- menu item that was clicked. Then it calls the appropriate movie.
on bartender
put the mouseH into HortPos
if HortPos < 123 then
-- furniture menu item clicked
else
if HortPos < 273 then
-- philanthropy menu item clicked
-- go to movie "PHILANTH.DIR"
play movie "PHILANTH.DIR"
else
if HortPos < 385 then
-- learning menu item clicked
--go to movie "LEARNING.DIR"
play movie "LEARNING.DIR"
else
if HortPos < 440 then
-- luck menu item clicked
-- go to movie "LUCK.DIR"
play movie "LUCK.DIR"
else
-- help menu item clicked
-- go to movie "HELP.DIR"
play movie "HELP.DIR"
end if
end if
end if
end if
end bartender